//
//  YICustomField.m
//  一点互助
//
//  Created by rimi on 16/8/20.
//  Copyright © 2016年 shen. All rights reserved.
//

#import "YICustomField.h"

@implementation YICustomField

//UITextField底部横线
- (void)drawRect:(CGRect)rect {
       CGContextRef context = UIGraphicsGetCurrentContext();
       CGContextSetFillColorWithColor(context, [UIColor blackColor].CGColor);
       CGContextFillRect(context, CGRectMake(0, CGRectGetHeight(self.frame) - 0.5, CGRectGetWidth(self.frame), 0.5));
}

@end
